import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function a001(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	//新增人员
	if (!fd.data.deptid) {
		fire_component_msg('zj-common-002', 'ec-001', 'fail', '请先选中一个部门');
		return;
	}
	fire_component_msg('zj-personnel-file-005', 'ec001', fd.data.deptid);
}
